/*
 * Copyright (c) 2015-2018 Sfkj Science And Technology Co.,Ltd.
 * All Rights Reserved.
 * This software is the confidential and proprietary information of
 * Sfkj Science And Technology Co.,Ltd.
 * ("Confidential Information").You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with Sfkj.
 */
package com.sfkj.walk.query.user;

import com.sfkj.walk.api.user.SocialAccountType;
import com.sfkj.walk.mongo.AbstractDocument;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.data.mongodb.core.index.Indexed;

@Data
@EqualsAndHashCode(callSuper = true)
public class SocialAccount extends AbstractDocument {

    private SocialAccountType socialAccountType;
    private String userId;
    @Indexed(unique = true)
    private String openId;
    private String infoJson;

}